package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * SpecificationValue entity. @author MyEclipse Persistence Tools
 */

public class SpecificationValue implements java.io.Serializable {

	// Fields

	private Long id;
	private Specification specification;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Integer orders;
	private String image;
	private String name;
	private Set productSpecificationValues = new HashSet(0);

	// Constructors

	/** default constructor */
	public SpecificationValue() {
	}

	/** minimal constructor */
	public SpecificationValue(Specification specification,
			Timestamp createDate, Timestamp modifyDate, String name) {
		this.specification = specification;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.name = name;
	}

	/** full constructor */
	public SpecificationValue(Specification specification,
			Timestamp createDate, Timestamp modifyDate, Integer orders,
			String image, String name, Set productSpecificationValues) {
		this.specification = specification;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.orders = orders;
		this.image = image;
		this.name = name;
		this.productSpecificationValues = productSpecificationValues;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Specification getSpecification() {
		return this.specification;
	}

	public void setSpecification(Specification specification) {
		this.specification = specification;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getOrders() {
		return this.orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getProductSpecificationValues() {
		return this.productSpecificationValues;
	}

	public void setProductSpecificationValues(Set productSpecificationValues) {
		this.productSpecificationValues = productSpecificationValues;
	}

}